﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpMUD.Framework.Net.Telnet
{
    public partial class TelnetSession
        : INetworkConnection
    {
        #region INetworkConnection Members


        void INetworkConnection.Close()
        {
            throw new NotImplementedException();
        }

        private event ConnectionEventHandler _NetworkConnection_Closing;
        event ConnectionEventHandler INetworkConnection.Closing
        {
            add
            {
                _NetworkConnection_Closing += value;
            }
            remove
            {
                _NetworkConnection_Closing -= value;
            }
        }

        public DateTime ConnectTime
        {
            get;
            private set;
        }

        public event ConnectionEventHandler Connected;

        public event ConnectionEventHandler Disconnected;

        public event ConnectionEventHandler LinkLost;

        ConnectionStatus INetworkConnection.Status
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}
